package com.dd.cloud.user.entity.doctor;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.gitee.sunchenbin.mybatis.actable.annotation.Column;
import com.gitee.sunchenbin.mybatis.actable.annotation.Table;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.time.LocalDateTime;

@Data
@EqualsAndHashCode
@Accessors(chain = true)
@Table(comment = "医生任务记录表")
public class DoctorTaskRecord implements Serializable {


    private static final long serialVersionUID = 1L;

    /**
     * 主键id
     */
    @TableId(value = "id", type = IdType.AUTO)
    @Column(isKey = true, isAutoIncrement = true)
    private Integer id;


    /**
     * 任务类型
     */
    @Column(comment = "任务类型", length = 4)
    private Integer type;

    /**
     * 医生id
     */
    @Column(comment = "医生id")
    private Integer doctorId;


    /**
     * 是否显示
     */
    @Column(comment = "状态 0.不展示 1.展示")
    private Integer isShow;

    /**
     * 状态 1.正常 -1.删除
     */
    @Column(comment = "1.正常 -1.删除")
    private Integer status;

    /**
     * 创建时间
     */
    @Column(comment = "创建时间")
    private LocalDateTime createDate;


}
